<!doctype html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1.0" />
<title>用户登录</title>
<link href="/widget/bootstrap/3.3.7/css/bootstrap.css" rel="stylesheet"  type="text/css"/>
<link href="css/wxlogin.css" rel="stylesheet" type="text/css"/>
<link href="library/weui/css/weui.min.css" rel="stylesheet" type="text/css"/>
<script src="/widget/jquery/jquery-3.2.1.min.js"></script>
<script src="/widget/layer/3.0.3/layer.js"></script>
<script type="text/javascript">
$().ready(function(){
    $("#btnSb").click(function(){
        if($("#username").val()==""){layer.msg("用户名不能为空！"); return false;}
        if($("#password").val()==""){layer.msg("密码不能为空！"); return false;}
        $("#frm").submit();
    });
});
</script>
</head>

<body>
<div class="box">
    <div class="login-box">
        <div class="login-title text-center">
			<h1><small>OA系统登录</small></h1>
		</div>
        <div class="login-content ">
            <div class="form">
                <form action="srv/login.php" method="post" id="frm">
                    <div class="form-group">
                        <div class="col-xs-12">
                            <div class="input-group">
                                <span class="input-group-addon"><span class="glyphicon glyphicon-user"></span></span>
							    <input type="text" id="username" name="username" class="form-control" placeholder="用户名">
                            </div>
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-xs-12">
                            <div class="input-group">
                                <span class="input-group-addon"><span class="glyphicon glyphicon-lock"></span></span>
							    <input type="password" id="password" name="password" class="form-control" placeholder="密码">
                            </div>
                        </div>
                    </div>
                    <div class="form-group form-actions">
                        <div class="col-xs-4 col-xs-offset-4">
                            <button type="button" id="btnSb" class="btn btn-sm btn-info"><span class="glyphicon glyphicon-off"></span> 登录</button>
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-xs-6 link">
                            <p class="text-center remove-margin"><small>忘记密码？</small> <a href="javascript:void(0)" ><small>找回</small></a></p>
                        </div>
                        <div class="col-xs-6 link">
                            <p class="text-center remove-margin"><small>还没注册?</small> <a href="javascript:void(0)" ><small>注册</small></a></p>
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>
  <footer class="footer navbar-fixed-bottom ">
    <div class="container text-center">
        版权所有：oa办公自动化系统
    </div>
</footer>   
</div>
</body>
</html>
